package cn.xunjie.ymcc.service;

import cn.xunjie.ymcc.domain.PayOrder;
import cn.xunjie.ymcc.dto.AlipayNotifyDto;
import cn.xunjie.ymcc.dto.PayApplyDto;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xue.jiao
 * @since 2022-07-31
 */
public interface IPayOrderService extends IService<PayOrder> {
    /**
     * 根据订单号查询支付单
     * @param orderNo
     * @return
     */

    PayOrder selectOrderNo(String orderNo);

    String apply(PayApplyDto dto);

    String notify(AlipayNotifyDto dto) throws Exception;

    void cancelOrder(String orderNo);
}
